package com.itheima.dao;

import com.itheima.pojo.Order;
import org.apache.ibatis.annotations.MapKey;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;
import java.util.Map;

@Mapper
public interface OrderDao {

    List<Order> findByCondition(Order order);

    void add(Order order);


    Map<String,Object> findById(Integer id);
}
